package com.zw.yzk.kabu.internal.module;

import com.zw.yzk.kabu.data.repository.WechatLoginRepository;
import com.zw.yzk.kabu.domain.interactor.DefaultUseCase;
import com.zw.yzk.kabu.domain.repository.Repository;
import com.zw.yzk.kabu.domain.repository.UseCase;

import dagger.Module;
import dagger.Provides;

/**
 * Created by zhanwei on 2016/12/24.
 */

@Module
public class WechatLoginModule {

    @Provides
    Repository provideLoginRepository(WechatLoginRepository repository) {
        return repository;
    }

    @Provides
    UseCase provideUseCase(DefaultUseCase useCase) {
        return useCase;
    }
}
